package com.zian.service;

import com.zian.domain.dto.UserAddressDTO;
import com.zian.domain.po.SysUserAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 收货地址表 服务类
 * </p>
 *
 * @author
 * @since 2024-09-08
 */
public interface ISysUserAddressService extends IService<SysUserAddress> {

    void addUserAddress(UserAddressDTO dto   );

    void updateUserAddress(UserAddressDTO  dto);

    SysUserAddress getUserAddress(Long id);

    void deleteUserAddress(Long id);

    List<SysUserAddress> getUserAddressList();


    SysUserAddress getDefaultAddress();


}
